package com.golang.api.domain;

import com.golang.api.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.math.BigDecimal;

/**
 * 订单明细对象 order_item
 *
 * @author ruoyi
 * @date 2025-01-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OrderItem extends BaseEntity {
    private static final long serialVersionUID = 1L;


    /**
     * 票ID
     */
    @Excel(name = "票ID")
    private String orderItemId;

    /**
     * 订单号
     */
    @Excel(name = "订单号")
    private String orderId;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;

    /**
     * 订单状态：0待支付，1已支付，2已退款，3已取消
     */
    @Excel(name = "订单状态：0待支付，1已支付，2已退款，3已取消")
    private Integer orderStatus;

    /**
     * 验票状态：0待验票，1已验票
     */
    @Excel(name = "验票状态：0待验票，1已验票")
    private Integer checkStatus;

    /**
     * 活动编码
     */
    @Excel(name = "活动编码")
    private String activityId;

    /**
     * 社群Id
     */
    @Excel(name = "社群Id")
    private String communityId;

    /**
     * 活动标题
     */
    @Excel(name = "活动标题")
    private String activityTitle;

    /**
     * 票种名称
     */
    @Excel(name = "票种名称")
    private String ticketName;

    /**
     * 票种类型
     */
    @Excel(name = "票种类型")
    private Long ticketType;

    /**
     * 购买数量
     */
    @Excel(name = "购买数量")
    private Integer quantity;

    /**
     * 单价
     */
    @Excel(name = "单价")
    private BigDecimal price;

    /**
     * 金额
     */
    @Excel(name = "金额")
    private BigDecimal amount;


}
